package com.baibei.ebec.sdk;

/**
 * 授权信息
 * Created by ChenRui on 2017/4/27 0027 14:17.
 */
public class TokenInfo {

    private String accessToken;
    private String refreshToken;

    public TokenInfo(String accessToken, String refreshToken) {
        this.accessToken = accessToken;
        this.refreshToken = refreshToken;
    }

    public TokenInfo() {
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    @Override
    public String toString() {
        return String.format("accessToken=%s; refreshAppKey=%s", accessToken, refreshToken);
    }
}
